<!-- 导航URL -->
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-md-12">
		<ol class="breadcrumb">
			<li><a>主页</a></li>
			<li><a>风控管理</a></li>
			<li class="active"><strong>黑名单明细管理</strong></li>
		</ol>
	</div>
</div>
<!-- 主要内容 -->
<div class="wrapper wrapper-content animated fadeIn" ng-app
	ng-controller="blacklistDetailMagCtrl">
	<form class="form-horizontal" id="form1">
			<div class="row">
				<div class="col-lg-12">
						<div class="panel-body ibox float-e-margins">
							<div class="ibox-content">
							
								<div class="form-group">
									<label class="col-sm-2 control-label">黑名单编号：</label>
									<div class="col-sm-2 checkbox" ng-bind="info.rollNo">
									</div>
									<label class="col-sm-2 control-label">黑名单名称：</label>
									<div class="col-sm-2 checkbox" ng-bind="info.rollName">
									</div>
									<label class="col-sm-2 control-label">黑名单类型：</label>
									<div class="col-sm-2 checkbox" ng-bind="info.rollType |formatDropping:blacklistTypes">
									</div>
								</div>
								
								
								<div class="form-group">
									<label class="col-sm-2 control-label">黑名单号码：</label>
									<div class="col-sm-2">
										<input type="text" class="form-control" ng-model="roll.rollNumber">
									</div>
								</div>
								
								<div class="form-group">
									<label class="col-sm-2 control-label"></label>
									<div class="col-lg-10">
										<button class="btn btn-primary6 btn-mr20" type="button" ng-click="query()"
											>查询</button>&nbsp;&nbsp;&nbsp; 
											<button class="btn btn-primary3 btn-mr20" type="button" ng-click="reset()"
											>清空</button>&nbsp;&nbsp;&nbsp; 
											<button class="btn btn-primary5" type="button" ng-click="openAddblacklist()">新增</button>
									</div>
									
								</div>
								<div class="form-group">
									<div ui-grid="blacklistGrid" ui-grid-pagination ui-grid-selection ui-grid-resize-columns class="grid"></div>
								</div>
								
								<div class="form-group">
									<label class="col-sm-2 control-label"></label>
									<a class="btn btn-primary4" type="button"  ui-sref="risk.blacklistQuery">返回</a>
								</div>
									
							</div>
					</div>
				</div>
			</div>
	</form>

	
	<!-- 模态框（Modal）新增黑名单号码-->
	<div id="addblacklist" class="modal fade" tabindex="-1" role="dialog">
	   <div class="modal-dialog">
	      <div class="modal-content">
	         <div class="modal-header">
	            <button type="button" class="close" data-dismiss="modal">
	                  &times;
	            </button>
	            <h3 class="modal-title">添加黑名单号码</h3>
	         </div>
	         <div class="modal-body">
	         	<form id="form1">
	         		<div class="form-group">
						<label class="col-sm-4 control-label">黑名单编号：</label>
						<input disabled="disabled" type="text" class="form-control" ng-model="lists.rollNo">
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">黑名单类型：</label>
						<select disabled="disabled" class="form-control" ng-model="lists.rollType" ng-options="x.value as x.text for x in blacklistTypesAll"/>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">黑名单号码：</label>
						<input type="text" class="form-control" ng-model="lists.rollNumber">
					</div>
	         	</form>
	         </div>
	         <div class="modal-footer">
			    <button type="button" ng-click="addblacklistNo()"  ng-disabled="submitting" class="btn btn-primary">确定</button>
			 </div>
	      </div>
		</div>
	</div>
	
	<!-- 模态框（Modal）删除黑名单号码-->
	<div id="delblacklist" class="modal fade" tabindex="-1" role="dialog">
	   <div class="modal-dialog">
	      <div class="modal-content">
	         <div class="modal-header">
	            <button type="button" class="close" data-dismiss="modal">
	                  &times;
	            </button>
	            <h3 class="modal-title">确定删除黑名单号码</h3>
	            <input type="hidden" ng-model="listId">
	         </div>
	         <div class="modal-body">
	         	确定删除黑名单号码吗？
	         </div>
	         <div class="modal-footer">
			    <button type="button" ng-click="delblacklistNo()" ng-disabled="submitting" class="btn btn-primary">确定</button>
			 </div>
	      </div>
		</div>
	</div>

</div>